#pragma once

#include "cTexture.h"
#include "Globals.h"

//Image array size
#define NUM_IMG		30

//Image identifiers
#define IMG_WALL		0
#define IMG_FLOOR		1
#define IMG_ROOF		2
#define IMG_SKYTOP		3
#define IMG_SKYBOTTOM	4
#define IMG_SKYFRONT	5
#define IMG_SKYBACK		6
#define IMG_SKYRIGHT	7
#define IMG_SKYLEFT		8
#define IMG_WALL2		9
#define IMG_WALL3		10
#define IMG_WIN1		11
#define IMG_WIN2		12
#define IMG_DOOR		13
#define IMG_BOOKS		14
#define IMG_LAND		15
#define IMG_LIGHT		16
#define IMG_DOOR2		17
#define IMG_0			18
#define IMG_1			19
#define IMG_2			20
#define IMG_3			21
#define IMG_4			22
#define IMG_5			23
#define IMG_6			24
#define IMG_7			25
#define IMG_8			26
#define IMG_9			27
#define IMG_CORNUDO		28
#define IMG_SONRISITAS	29


class cData
{
public:
	cData(void);
	~cData(void);

	int  GetID(int img);
	void GetSize(int img,int *w,int *h);
	bool LoadImage(int img,char *filename,int type = GL_RGBA);

private:
	cTexture texture[NUM_IMG];
};
